Fix misnamed call to legacy_mask_to_prefix. Thanks to Tim Moreton for finding
authoremellor@leeni.uk.xensource.com <emellor@leeni.uk.xensource.com>
Mon, 7 Nov 2005 11:36:44 +0000 (12:36 +0100)
committeremellor@leeni.uk.xensource.com <emellor@leeni.uk.xensource.com>
Mon, 7 Nov 2005 11:36:44 +0000 (12:36 +0100)
this.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
tools/examples/network-bridge

index b79dcb6b793e34dd65a3291fdc3d4e3a605b1ba2..5324e8d934828d99b5c7e902251f03b80c218e8c 100755 (executable)
@@ -238,7 +238,7 @@ may raise this limit by passing it as a parameter (nloopbacks=<N>).
                if [ -z "${kmask}" ]; then 
                    PREFIX=32; 
                else 
-                   legacy_to_prefix ${kmask};
+                   legacy_mask_to_prefix ${kmask};
                fi
                ip addr add ${kip}/${PREFIX} dev ${netdev}
                ip link set dev ${netdev} up